package main.java.design.abstractfactory;

/**
 * <p>
 *     苹果工厂：具体的工厂，创建具有特定实现的产品对象
 * </p>
 *
 * @author : wangdejian
 * @version 1.0
 * @date : 2020/6/10 21:27
 */
public class AppleFactory extends AbstractFactory {

    @Override
    public Laptop produceLaptop() {
        return new MacLaptop();
    }

    @Override
    public Phone producePhone() {
        return new IPhone();
    }
}
